__author__ = 'richey'
import configparser
cf = configparser.ConfigParser()
cf.read("./config/gasConfig.cfg")
db_conn = cf.get("db", "db_conn")
db_host = cf.get("db", "db_host")
db_database = cf.get("db", "db_database")
db_user = cf.get("db", "db_user")
db_pass = cf.get("db", "db_pass")
db_uri = cf.get("db","db_uri")
net_ip = cf.get("network", "ip")
net_port = cf.getint("network", "port")
gas_check_db_cycle = cf.getint("gas", "gas_check_db_cycle")
gas_group_no = cf.getint("gas", "group_no")
slot_tick = "%03d" % cf.getint("gas", "slot_tick")
